selectionfiltermodel: Make constructor allow-none
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Jul 2020 21:34:44 +0000 (17:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 26 Jul 2020 22:04:40 +0000 (18:04 -0400)
commit72bb7fc701700d8b727010868256d9596c4a128b
tree1d42deb485d3a48aea2fbabec9b3d57a8cd726d0
parentcdc263f7969e530dad7660796341ec3ecb88a993
selectionfiltermodel: Make constructor allow-none

We don't pay attention to item-type anymore, so
drop the item-type property and the _for_item_type()
constructor, and allow passing NULL to the regular
constructor.

We don't make this constructor transfer-full, since
the selection filter model is not a wrapping model
like the others. It is more like fork than a wrap.
gtk/gtkselectionfiltermodel.c
testsuite/gtk/multiselection.c